home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / cgplwlist / cgplw01501-01750.txt / 000078_Jeric@cup.portal.com_Tue Jan 10 21:41:14 PST 1995.msg < prev    next >
Text File  |  1995-01-22  |  3KB  |  89 lines

  1. Article: 1579 of comp.graphics.packages.lightwave
  2. Xref: netcom.com comp.graphics.packages.lightwave:1579
  3. Path: netcom.com!ix.netcom.com!howland.reston.ans.net!swrinde!sdd.hp.com!svc.portal.com!portal.com!cup.portal.com!Jeric
  4. From: Jeric@cup.portal.com (J Eric Chard)
  5. Newsgroups: comp.graphics.packages.lightwave
  6. Subject: Re: Arexx and LW
  7. Date: 10 Jan 1995 11:25:58 -0800
  8. Organization: The Portal System (TM)
  9. Lines: 72
  10. Sender: pccop@unix.portal.com
  11. Distribution: world
  12. Message-ID: <130024@cup.portal.com>
  13. References: <129994@cup.portal.com>
  14. NNTP-Posting-Host: news1.unix.portal.com
  15.  
  16. DRAKON WRITES:
  17.  
  18. >Help!!!
  19. >I need to build an Arexx program for LW that will take an datafile and build
  20. >the object. I am at the point where the points are generated but the polygon
  21. >generation part dies, returning error 16 sev 10, and I have no clue what this
  22. >is supposed to mean. I have tried both add_polygon and add_quad and used every
  23. >combination of arguments I can think of.
  24. >
  25. >So how do you build multipoint polygons in LW using Arexx?
  26.  
  27.  
  28.     Rather than having Modeler build them, which is sorta overkill if you
  29.     know exactly where every vertice goes, simply write them out as an
  30.     ASCII file in VIDEOSCAPE ASCII format, which both LW & LWM read.
  31.  
  32.     Here's an edited VideoScape ASCII file:
  33.  
  34.  
  35. 3DG1
  36. 680
  37. -221.500000 256.000000 0.000000
  38. -206.500000 253.000000 0.000000
  39. -510.500000 251.000000 0.000000
  40. -461.500000 251.000000 0.000000
  41. -460.500000 248.000000 0.000000
  42. -509.500000 238.000000 0.000000
  43. -459.500000 232.000000 0.000000
  44. -508.500000 222.000000 0.000000
  45.  
  46. <SNIP!>
  47.  
  48. 3 76 75 214 15
  49. 3 592 76 591 15
  50. 3 335 592 216 15
  51.  
  52. >>>>>>>>>>>>>>>>>>>>END OF FILE, NOT INCLUDING THIS LINE <<<<<<<<<<<<
  53.  
  54.     OK, here's the same thing commented (not allowed in real file):
  55.  
  56.  
  57. 3DG1    ; filetype identifier
  58. 680        ; number of vertices
  59. -221.500000 256.000000 0.000000    ;vertice #0
  60. -206.500000 253.000000 0.000000 ;vertice #1
  61. -510.500000 251.000000 0.000000 ;  etc.
  62. -461.500000 251.000000 0.000000
  63. -460.500000 248.000000 0.000000
  64. -509.500000 238.000000 0.000000
  65. -459.500000 232.000000 0.000000
  66. -508.500000 222.000000 0.000000
  67.  
  68. <SNIP!>    ; NOT in real file, ok?
  69.  
  70. 3 76 75 214 15        ;polygon#1, three vertices, numbers 76/75/214, color #15=white
  71. 3 592 76 591 15
  72. 3 335 592 216 15
  73.  
  74.  
  75.     The file just ends with no special designator.  Remember, it's all
  76.     ASCII!  You can assign it some Lightwave style color by loading into LWM.
  77.  
  78.  
  79. >
  80. >Ben Gibson
  81. >
  82.  
  83. ***********************************************************************
  84. *   (OOOOO)  Jeric@cup.portal.com  |  Synergy Graphix & Animation     *
  85. *  (OOOOOOO)  Welcome to Seattle!  |   Film and Video Productions     *
  86. *   ///////  "All I know is what I see on the monitors."              *
  87. ***********************************************************************
  88.  
  89.